//引入封装的请求服务
import { POST, UPLOAD } from '@/services/request.js'

const Card = {
    Card(data = {})
    {
        return POST({
            url:'card/card/card',
            params:data
        })
    },
    CardAdd(data = {})
    {
        return UPLOAD({
            url:'card/card/add',
            params:data
        })
    },
    CardIndex(data = {})
    {
        return POST({
            url:'card/card/index',
            params:data
        })
    },
    CardPay(data = {})
    {
        return POST({
            url:'card/card/pay',
            params:data
        })
    }
}

export default Card